<?php 
   //修改出库
    include './base.php'; 
      $id = $_GET["id"];
      $sql ="select * from chuku where c_id = $id";
      $res = mysql_query($sql);//执行sql   => 结果
      $row = mysql_fetch_assoc($res);
      print_r(json_encode($row));
?>